<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<!--main-->
    <div id="mainbody">
    	<div class="essay_left">
		   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=4160cb24d85de2188e182e4385f090bd&sql=SELECT+%2A+FROM+v9_page+where+catid%3D16&num=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("SELECT * FROM v9_page where catid=16 LIMIT 1");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?>
			 <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        	<div class="about_zh zit02"><?php echo $r['content'];?> </div>
        	 <?php $n++;}unset($n); ?>
 		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
 		    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=a74fce1a4a25144277981e4d5918aa87&sql=SELECT+%2A+FROM+v9_page+where+catid%3D2&num=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("SELECT * FROM v9_page where catid=2 LIMIT 1");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?>
			 <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        	<div class="about_en"><?php echo $r['content'];?> </div>
        	 <?php $n++;}unset($n); ?>
 		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            <div class="newest">
            <div style="height:50px;"></div>
            	<h2 class="newestTit"><a href="#" class="hover"><?php echo L('latest_article');?></a><a href="#"><?php echo L('most_popular_posts');?></a></h2>
			<div class="content">
				<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=82ff73809b6c6f1ec62d4ea74750743f&action=lists_datagrouy&filde=inputtime%2Curl%2Ctitle%2Cusername%2Cdescription&posids=1&num=25&order=inputtime+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists_datagrouy')) {$data = $content_tag->lists_datagrouy(array('filde'=>'inputtime,url,title,username,description','posids'=>'1','order'=>'inputtime DESC','limit'=>'25',));}?>
				 <?php $n=1; if(is_array($data)) foreach($data AS $key => $r) { ?>
					<h2 class=contentTit><?php echo $key;?></h2>
					<div class=more>
						<?php $n=1;if(is_array($r)) foreach($r AS $v) { ?>
						<h2 class="moreTit">
							<a href="<?php echo $v['url'];?>"><?php echo $v['title'];?></a>
						</h2>
						<ul class="newsList">
							<li><em><?php echo L('author');?>:</em><span><?php echo $v['username'];?></span><strong><?php echo date("Y-m-d",$v[inputtime]);?></strong></li>
							<li><?php echo $v['description'];?></li>
						</ul>
						<?php $n++;}unset($n); ?>
				</div>
			    <?php $n++;}unset($n); ?>
			    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
				</div> 
				<div class="content hide">
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b4dec87d01624f8adae5bff5b843e04b&action=sitehits&siteid=1&num=10&order=views+DESC&page=%24page&return=datalist\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'sitehits')) {$pagesize = 10;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('siteid'=>'1','order'=>'views DESC','limit'=>$offset.",".$pagesize,'action'=>'sitehits',));$pages = pages($content_total, $page, $pagesize, $urlrule);$datalist = $content_tag->sitehits(array('siteid'=>'1','order'=>'views DESC','limit'=>$offset.",".$pagesize,'action'=>'sitehits',));}?> 
				<?php $n=1; if(is_array($datalist)) foreach($datalist AS $key => $c) { ?> 
                	<h2 class="contentTit"><?php echo $key;?></h2>
                    	<div class=more>
						<?php $n=1;if(is_array($c)) foreach($c AS $v) { ?>
						<h2 class="moreTit">
							<a href="<?php echo $v['url'];?>"><?php echo $v['title'];?></a>
						</h2>
						<ul class="newsList">
							<li><em><?php echo L('author');?>:</em><span><?php echo $v['username'];?></span><strong><?php echo date("Y-m-d",$v[inputtime]);?></strong></li>
							<li><?php echo $v['description'];?></li>
						</ul>
						<?php $n++;}unset($n); ?>
                    </div>
                    <?php $n++;}unset($n); ?> 
                     <div id="pages" class="text-c"><?php echo $pages;?></div>
				<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
            </div>
     
	   </div>			
        </div>
        <div class="essay_right">
        <h2 class="sort"><span class="topname"><?php echo L('classify');?></span></h2>
	         <div class="menu">
	        	<iframe name="center_frame" id="center_frame" src="?m=content&c=index&a=public_categorys&type=add&menuid=822&pc_hash=eAyt1x" frameborder="false" scrolling="auto" style="border:none" width="100%" height="700" allowtransparency="true"></iframe>
	       	 </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="bk10"></div>
    <!--footer-->
<?php include template("content","footer"); ?>